package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.produce.domain.req.DcsRealTimeDataReq;
import com.ruibang.glass.produce.domain.resp.dcs.cx.*;
import com.ruibang.glass.produce.domain.resp.dcs.yl.TankFurnaceTemp;

import javax.servlet.http.HttpServletResponse;


public interface DcsCxRealTimeDataService {
    //    查询成型区功率温度
    IPage<PowerTemp> queryPowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq);

    //    查询L管马弗炉功率温度
    IPage<MufflePowerTemp> queryMufflePowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq);

    //    查询一区功率温度
    IPage<ZoneOnePowerTemp> queryZoneOnePowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq);


    //    查询2-5区功率
    IPage<ZoneTwoToFivePower> queryZoneTwoToFivePower(DcsRealTimeDataReq dcsRealTimeDataReq);


    //    查询2-3区温度
    IPage<ZoneTwoToThreeTemp> queryZoneTwoToThreeTemp(DcsRealTimeDataReq dcsRealTimeDataReq);


    //    查询4-5区温度
    IPage<ZoneFourToFiveTemp> queryZoneFourToFiveTemp(DcsRealTimeDataReq dcsRealTimeDataReq);


    //    查询冷却水温度流量
    IPage<WaterTempFlow> queryWaterTempFlow(DcsRealTimeDataReq dcsRealTimeDataReq);

    //    查询应力区功率
    IPage<StressPower> queryStressPower(DcsRealTimeDataReq dcsRealTimeDataReq);


    void exportPowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportMufflePowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportZoneOnePowerTemp(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportZoneTwoToFivePower(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportZoneTwoToThreeTemp(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportZoneFourToFiveTemp(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportWaterTempFlow(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    void exportStressPower(DcsRealTimeDataReq dcsRealTimeDataReq, HttpServletResponse response);

    MufflePowerTempTrendChart mufflePowerTempTrendChart(DcsRealTimeDataReq dcsRealTimeDataReq);
}
